export const courseDetailNoStudy = state => {
  let { lesson } = state.courseDetail;

  return {
    ...state.courseDetail,
    lesson: lesson.filter(item => !item.is_end)
  };
};
